package com.example.safeassistan.risk.model;

import java.util.List;

public class ChecktableListModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1382505740672790529","createBy":"admin","createTime":"2021-04-15 09:27:09","updateBy":"admin","updateTime":"2021-04-15 15:01:32","sysOrgCode":"A04","tableName":"分级管控","tableType":"1382589784223715329","tableMethod":null,"checkBasis":null,"punishBasis":null,"remarks":null,"companyId":"87c17549523d41108c87bd03b128a761"},{"id":"1382526997573148673","createBy":"admin","createTime":"2021-04-15 10:51:37","updateBy":"admin","updateTime":"2021-04-15 20:36:11","sysOrgCode":"A04","tableName":"电路检查","tableType":"1382589746755997698","tableMethod":null,"checkBasis":null,"punishBasis":null,"remarks":null,"companyId":"87c17549523d41108c87bd03b128a761"}]
     * timestamp : 1618626570613
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1382505740672790529
         * createBy : admin
         * createTime : 2021-04-15 09:27:09
         * updateBy : admin
         * updateTime : 2021-04-15 15:01:32
         * sysOrgCode : A04
         * tableName : 分级管控
         * tableType : 1382589784223715329
         * tableMethod : null
         * checkBasis : null
         * punishBasis : null
         * remarks : null
         * companyId : 87c17549523d41108c87bd03b128a761
         */

        private String id;
        private String createBy;
        private String createTime;
        private String updateBy;
        private String updateTime;
        private String sysOrgCode;
        private String tableName;
        private String tableType;
        private Object tableMethod;
        private Object checkBasis;
        private Object punishBasis;
        private Object remarks;
        private String companyId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getSysOrgCode() {
            return sysOrgCode;
        }

        public void setSysOrgCode(String sysOrgCode) {
            this.sysOrgCode = sysOrgCode;
        }

        public String getTableName() {
            return tableName;
        }

        public void setTableName(String tableName) {
            this.tableName = tableName;
        }

        public String getTableType() {
            return tableType;
        }

        public void setTableType(String tableType) {
            this.tableType = tableType;
        }

        public Object getTableMethod() {
            return tableMethod;
        }

        public void setTableMethod(Object tableMethod) {
            this.tableMethod = tableMethod;
        }

        public Object getCheckBasis() {
            return checkBasis;
        }

        public void setCheckBasis(Object checkBasis) {
            this.checkBasis = checkBasis;
        }

        public Object getPunishBasis() {
            return punishBasis;
        }

        public void setPunishBasis(Object punishBasis) {
            this.punishBasis = punishBasis;
        }

        public Object getRemarks() {
            return remarks;
        }

        public void setRemarks(Object remarks) {
            this.remarks = remarks;
        }

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }
    }
}
